package com.demo.mq.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @author ysw
 * @create 2021-12-13-22:36
 * @descreption 生产者控制器
 **/
@RestController
public class ConsumerController {

    @GetMapping("/send")
    public Object send(){
        return new HashMap(){{
            put("code", 200);
        }};
    }
}
